Skip to main content

write to driver

Type

command

Summary

Sends data to a device that has been opened with the open driver command.

Syntax

write <value> to driver <deviceName>

Description

Use the write to driver command to control a peripheral device or send data through it.

Parameters

NameTypeDescription

value

string

deviceName

The name of a device driver that's installed on the system and that you have previously opened with the open driver command.

Examples

write "test" & return to driver "/dev/cu.modem"

command: write to file, open driver, close driver, read from driver, write to process, write to socket

control structure: function

function: driverNames, result

glossary: command, peripheral device

keyword: COMn:, real8, int1, int4, real4, int2, LPT1:, printer:, modem:

Compatibility and Support

Introduced

LiveCode 1.1.1

OS

mac

windows

linux

Platforms

desktop

server

Thank you for your feedback!

Was this page helpful?